﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Core.CoreImpl;

namespace EzDesk.Core.ServiceWebRef
{
    public class AppSessionWebRef:IAppSessionService
    {
        private IAppSessionService _service = new AppSessionService();

        public Model.AppSession GetAppSession(Guid currentUserId, string appName)
        {
            return _service.GetAppSession(currentUserId, appName);
        }

        public bool UpdateSession(Model.AppSession sessionFromPost)
        {
            return _service.UpdateSession(sessionFromPost);
        }
    }
}
